package Comp;
import java.util.Comparator;
import Test.*;
public class CompareBirthdate implements Comparator<Person> {
    @Override
    public int compare(Person o1, Person o2) {
        return o1.data.compareTo(o2.data);
    }
}
